<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    </head>
<body>
#{if hotels}
    <table>
        <thead>
            <tr>
               <th>院线名称</th>
                <th>地址</th>
                <th>省市, 州区</th>
                <th width="15%">编号</th>
                <th width="20%">查询及办理</th>
            </tr>
        </thead>
        <tbody>
            #{list hotels, as:'hotel'}
                <tr>
                    <td>${hotel.name}</td>
                    <td>${hotel.address}</td>
                    <td>${hotel.city}, ${hotel.state}, ${hotel.country}</td>
                    <td>${hotel.zip}</td>
                    <td>
                        <a href="@{show(hotel.id)}">查询及办理</a>
                    </td>
                </tr>
            #{/list}
        </tbody>
    </table>
    <p>
        <a id="nextPage" href="${page+1}">更多结果</a>
    </p>
#{/if}

#{else}
    <p>
                没有更多结果！
    </p>
#{/else}
</body>   